<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/commons/taglibs.jsp" %>
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>

<jsFileName><!--js/pageJS/page_pubWzcg.js--></jsFileName>
<s:form id="query_pubWzcg_list_form" name="query_pubWzcg_list_form" method="post" action="pubWzcg/list1.do">
<div  class="con_wrap_padding">
	<div class="trans_operate_box clearfix">
		<div class="operate_btns">			
		</div>
		<div class="trans_type_search">
			申请人：<s:textfield key="sqrbh" size="10"></s:textfield>
			员工编号:<s:textfield key="sqrxm" size="10"></s:textfield>
			部门:<s:textfield key="bm" size="10"></s:textfield>
			<a class="btn_short" name="button" id="button" href="javascript:void(0)" title="搜索" onclick="QueryPubWzcgListUtils.query()">搜索</a>
		</div>   
	</div>
	<style type="text/css">
	<!--
		.TABLE {
			TABLE-LAYOUT: fixed
		}
		.TD {
			LEFT: 10px;
			WIDTH: 100%;
			WORD-WRAP: break-word
		}
		.maintable {
			width: 98%;
			border-collapse: collapse
		}
		.maintable .tr1 td{BACKGROUND-COLOR: #ebf7f8;}
		.maintable tbody td {
			border: 1px solid #9fccec;
			padding: 3px 4px;
			vertical-align: middle;
			HEIGHT: 25px;
			font-size: 12px;
			font-family: Arial,Verdana,Helvetica,sans-serif,"宋体";
			white-space: normal
		}
	-->
	</style>
	<table id="dataGridTable_pubXmjcb" width="98%" class="maintable">
		<tr>
			<td align="center">申请人</td>
			<td align="center">员工编号</td>
			<td align="center">部门</td>
			<td align="center">岗位职务</td>
			<td align="center">固资类别</td>
			<%--
			<td align="center">预算情况说明</td>
			--%>
			<td align="center">型号规格</td>
			<td align="center">下单日期</td>
			<td align="center">采购周期</td>
			<td align="center">预计到货日期</td>
			<%--
			<td align="center">货期变更说明</td>
			--%>
			<td align="center">实际到货日期</td>
			<td align="center">优先级</td>
			<td align="center">领取日期</td>
			<td align="center">序列号</td>
			<td align="center">资产编号</td>
			<td align="center">是否发放到位</td>
			<td align="center" width="10%">操作</td>
		</tr>
		<c:forEach items="${page.result}" var="item" varStatus="status">
		<tr>
			<td align="left"><span title='${item.sqrbh}'>${item.sqrbh}</span></td>
			<td align="left"><span title='${item.sqrxm}'>${item.sqrxm}</span></td>
			<td align="left"><span title='${item.bm}'>${item.bm}</span></td>
			<td align="left"><span title='${item.gwzw}'>${item.gwzw}</span></td>
			<td align="left"><span title='${item.gzlb}'>${item.gzlb}</span></td>
			<%--
			<td align="left"><span title='${item.ysqksm}'>${item.ysqksm}</span></td>
			--%>
			<td align="left"><span title='${item.xhgg}'>${item.xhgg}</span></td>
			<td align="left"><span title='${item.xdrqString}'><c:out value='${item.xdrqString}'/></span></td>
			<td align="left"><span title='${item.cgzq}'>${item.cgzq}</span></td>
			<td align="left"><span title='${item.yjdhrqString}'><c:out value='${item.yjdhrqString}'/></span></td>
			<%--
			<td align="left"><span title='${item.hqbgsm}'>${item.hqbgsm}</span></td>
			--%>
			<td align="left"><span title='${item.sjdhrqString}'><c:out value='${item.sjdhrqString}'/></span></td>
			<td align="left"><span title='${item.yxj}'>${item.yxj}</span></td>
			<td align="left"><span title='${item.lqrqString}'>${item.lqrqString}</span></td>
			<td align="left"><span title='${item.xlh}'>${item.xlh}</span></td>
			<td align="left"><span title='${item.zcbh}'>${item.zcbh}</span></td>
			<td align="left">
					<c:if test="${item.ffdw==1}">是</c:if>
					<c:if test="${item.ffdw==0}">否</c:if>
			</td>
			<td align="center">
				<a href="#" onclick="Ext.milan.pagejs.page_pubWzcg.viewDetail1('${item.id}')"><img src="skins/default/images/icons/ico-view.gif" />查看</a>&nbsp;
				<a href="#" onclick="Ext.milan.pagejs.page_pubWzcg.showEditForm1('${item.id}')"><img src="skins/default/images/icons/ico-edit.gif" />编辑</a>&nbsp;
			</td>
			
		</tr>
		</c:forEach>
		
		<c:if test="${fn:length(page.result)==0}">
		<tr>
	    	<td colspan="16"><div class="note_red_in_div">系统没有查找到符合条件的数据！</div></td>
	    </tr>
	    </c:if>
	</table>
	<input type="hidden" name="pageNumber" value="${page.thisPageNumber}"/>
	<input type="hidden" name="pageSize" value="${page.pageSize}"/>
	<simpletable:pagingToolbar page="${page}"/>
 	</div>
</s:form>
<script type="text/javascript">;
	QueryPubWzcgListUtils = {};
	
	/**
	 * 条件查询
	 */
	QueryPubWzcgListUtils.query = function() {
		
		//强行设置当前页为第一页
		var currentPage = $("query_pubWzcg_list_form").pageNo;
		if(currentPage) 
			currentPage.value = 1;
		
		Ext.milan.pagejs.page_pubWzcg.query();
	};
	
</script>